package com.zr.inputInvitationCode.controller;

import com.zr.inputInvitationCode.pojo.UpdateInputInvitationVo;
import com.zr.inputInvitationCode.service.InputInvitationCodeService;
import com.zr.util.ResultVOBuilder;
import com.zr.util.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by Administrator on 2019/7/3 0003.
 */
@RestController
public class InputInvitationCodeController {

    @Autowired
    private InputInvitationCodeService inputInvitationCodeService;

    @GetMapping("/inputInvitationCode")
    public ResultVo updateInputInvitationCode(){
        return ResultVOBuilder.success(null);
    }

   /* @GetMapping("/inputInvitationCode")
    public ResultVo updateInputInvitationCode(@RequestParam("code") String code,HttpServletRequest request){
        Integer loginId = (Integer) request.getSession().getAttribute("loginId");
        return inputInvitationCodeService.updateInputInvitationCode(code,loginId);
    }*/
}
